<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Cero Repository</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<meta name="author" content="Cero Project Team" />
	<meta name="language" content="en" />
	<link rel="stylesheet" href="<?= base_url();?>css/cero-repository.css" type="text/css" media="screen" />
	<script type="text/javascript" src="<?= base_url();?>js/prototype.js"></script>
	<script type="text/javascript" src="<?= base_url();?>js/scriptaculous.js?load=effects"></script>
	<?php
	if (isset($extraHeadContent)){
		echo extraHeadContent;
	}
	?>
	<script type="text/javascript">
		base_url = "<?= site_url();?>/";
	</script>
	<script type="text/javascript" src="<?= base_url();?>js/cero-repository.js"></script>
</head>
<body onload="update_newslist('<?php echo site_url("article/articlelist/"); ?>');">
	<div id="container">
		<div id="header"><h1>Repository</h1></div>
		<div id="loading" style="display:none;"> Loading ... </div>
		<div id="navigation">
			<div class="menu-title">
			<img src="<?= base_url();?>img/house.png" alt="img"/> Main Menu
			</div>
			<ul>
				<li><a href="<?= index_page();?>">Home</a></li>
				<li><a href="#" onclick="update_content('<?php echo site_url("article/articlelist/"); ?>');">News</a></li>
				<li><a href="#" onclick="update_content('<?php echo site_url("user/search"); ?>'); ">User Search</a></li>
				<li><a href="#" onclick="update_content('<?php echo site_url("user/userlist"); ?>'); ">User List</a></li>
				<li><a href="#" onclick="update_content('<?php echo site_url("package/add"); ?>'); ">Add Package</a></li>
				<li><a href="#" onclick="update_content('<?php echo site_url("package/search"); ?>'); ">Package Search</a></li>
				<li><a href="#" onclick="update_content('<?php echo site_url("package/pkglist"); ?>'); ">Package List</a></li>
			</ul>
		</div>
		
		<div id="divlogin">
		<?php
		if($this->auth->is_logged()){
				$this->load->view('auth/logged');
			
		}else{
			 $this->load->view('auth/login'); 
		}
		?>
		</div>
		<div id="content">

